package com.mutual.appUserInfo.service;

import java.util.List;
import java.util.Map;

import com.mutual.appUserInfo.pojo.AppUserInfoProduct;
import com.mutual.commom.pojo.ReturnResult;
import com.mutual.commom.service.BaseService;

public interface AppUserInfoProductService extends BaseService<AppUserInfoProduct>{

	List<AppUserInfoProduct> selectAppUserInfoProductList(AppUserInfoProduct appUserInfoProduct);
	
	int selectTotalCount(Map<String,Object> param);
	
	List<AppUserInfoProduct> selectAppUserInfoProductList(Map<String,Object> param);
	/**
	 * 购买产品
	 * @param appUserInfoProduct
	 * @return
	 */
	ReturnResult buyProduct(AppUserInfoProduct  appUserInfoProduct);
	
	int updateBuyProductStatus(AppUserInfoProduct appUserInfoProduct);
	/**
	 * 分页
	 * @param param
	 * @return
	 */
	List<AppUserInfoProduct> selectAllObjPage(Map<String,Object> param);
	/**
	 * 发送提醒短信
	 * @param param
	 * @return
	 */
	ReturnResult sendNoticeSMS(Map<String,Object> param);
}
